<?php /* Smarty version Smarty-3.0.5, created on 2015-11-21 15:28:13
         compiled from "D:\WWW\phpcms5\tpl/blue/block_im.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1564156501d0d6f1d76-37876440%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '046727205b504628ae362d60f4db1d616d1f6a5c' => 
    array (
      0 => 'D:\\WWW\\phpcms5\\tpl/blue/block_im.tpl',
      1 => 1448064296,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1564156501d0d6f1d76-37876440',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_smarty_tpl->getVariable('config')->value['qqstatus']==1&&$_smarty_tpl->getVariable('volist_onlinechat')->value){?>
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->getVariable('skinpath')->value;?>
style/im.css" />
<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('skinpath')->value;?>
js/app-layer-im.min.js"></script>
<div id="sys-layer-im-01" class="sys-layer-im-01">
  <div class="sys-layer-im-btn">
    <div class="sys-layer-im-btn sys-layer-im-btn-zh">在线客服</div>
  </div>
  <div class="sys-layer-im-box">
    <div class="sys-layer-im-group sys-layer-im-group-first">
	  <h2 style="font-size:13px;">在线客服</h2>
	  <ul>
	    <?php  $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('volist_onlinechat')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value){
?>
		<?php if ($_smarty_tpl->tpl_vars['value']->value['ontype']==1){?>
		<li class="showname"><a  href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $_smarty_tpl->tpl_vars['value']->value['number'];?>
&site=<?php echo $_smarty_tpl->tpl_vars['value']->value['sitetitle'];?>
&menu=yes" target="_blank" ><img class="sys-layer-im-icon" src="<?php echo $_smarty_tpl->getVariable('skinpath')->value;?>
images/im/qq.gif" alt="<?php echo $_smarty_tpl->tpl_vars['value']->value['title'];?>
" /><?php echo $_smarty_tpl->tpl_vars['value']->value['title'];?>
</a></li>
		<?php }elseif($_smarty_tpl->tpl_vars['value']->value['ontype']==2){?>
		<li class="showname"><a  href="http://amos.im.alisoft.com/msg.aw?v=1&uid=<?php echo $_smarty_tpl->tpl_vars['value']->value['number'];?>
&site=<?php echo $_smarty_tpl->tpl_vars['value']->value['sitetitle'];?>
&s=2&charset=utf-8" target="_blank" ><img class="sys-layer-im-icon" src="<?php echo $_smarty_tpl->getVariable('skinpath')->value;?>
images/im/wangwang.gif" alt="<?php echo $_smarty_tpl->tpl_vars['value']->value['title'];?>
" /><?php echo $_smarty_tpl->tpl_vars['value']->value['title'];?>
</a></li>
		<?php }elseif($_smarty_tpl->tpl_vars['value']->value['ontype']==3){?>
		<li class="showname"><a href="msnim:chat?contact=<?php echo $_smarty_tpl->tpl_vars['value']->value['number'];?>
" target="_blank" ><img class="sys-layer-im-icon" src="<?php echo $_smarty_tpl->getVariable('skinpath')->value;?>
images/im/msn.gif" alt='<?php echo $_smarty_tpl->tpl_vars['value']->value['title'];?>
' /><?php echo $_smarty_tpl->tpl_vars['value']->value['title'];?>
</a></li>
		<?php }else{ ?>
		<?php }?>
		<?php }} ?>
	  </ul>
	</div>
  </div>
</div>
<?php }?>